package com.kehutong.house.entity;

import com.kehutong.common.entity.DataEntity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * TODO
 * 供应商配置
 * @author zhouweipeng
 * @version 1.0
 * @date 2021/7/19 10:48
 */
@Table(value="t_supplier_config", idType= IDType.UUID)
public class SupplierConfig extends DataEntity {

    @Column(comment="供应商编码")
    private String code;

    @Column(comment="供应商配置信息",length = 200)
    private String ext;

    @Column(comment="供应商id")
    private String supplierId;

    @Column(comment="接口类地址",length = 100)
    private String serviceUrl;

    @Column(comment="供应商名称")
    private String name;

    public SupplierConfig(String id) {
        super(id);
    }

    public String getServiceUrl() {
        return serviceUrl;
    }

    public void setServiceUrl(String serviceUrl) {
        this.serviceUrl = serviceUrl;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
